Optimal. Leaf size=77 \[ \frac{(a+b x)^3 \sqrt{a^2+2 a b x+b^2 x^2} (A b-a B)}{4 a^2 x^4}-\frac{A \left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{5 a^2 x^5} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0456049, antiderivative size = 77, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.103, Rules used = {769, 646, 37} \[ \frac{(a+b x)^3 \sqrt{a^2+2 a b x+b^2 x^2} (A b-a B)}{4 a^2 x^4}-\frac{A \left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{5 a^2 x^5} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 769
Rule 646
Rule 37
Rubi steps
\begin{align*} \int \frac{(A+B x) \left (a^2+2 a b x+b^2 x^2\right )^{3/2}}{x^6} \, dx &=-\frac{A \left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{5 a^2 x^5}-\frac{\left (2 A b^2-2 a b B\right ) \int \frac{\left (a^2+2 a b x+b^2 x^2\right )^{3/2}}{x^5} \, dx}{2 a b}\\ &=-\frac{A \left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{5 a^2 x^5}-\frac{\left (\left (2 A b^2-2 a b B\right ) \sqrt{a^2+2 a b x+b^2 x^2}\right ) \int \frac{\left (a b+b^2 x\right )^3}{x^5} \, dx}{2 a b^3 \left (a b+b^2 x\right )}\\ &=\frac{(A b-a B) (a+b x)^3 \sqrt{a^2+2 a b x+b^2 x^2}}{4 a^2 x^4}-\frac{A \left (a^2+2 a b x+b^2 x^2\right )^{5/2}}{5 a^2 x^5}\\ \end{align*}
Mathematica [A] time = 0.0328356, size = 84, normalized size = 1.09 \[ -\frac{\sqrt{(a+b x)^2} \left (5 a^2 b x (3 A+4 B x)+a^3 (4 A+5 B x)+10 a b^2 x^2 (2 A+3 B x)+10 b^3 x^3 (A+2 B x)\right )}{20 x^5 (a+b x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 92, normalized size = 1.2 \begin{align*} -{\frac{20\,B{x}^{4}{b}^{3}+10\,A{b}^{3}{x}^{3}+30\,B{x}^{3}a{b}^{2}+20\,A{x}^{2}a{b}^{2}+20\,B{x}^{2}{a}^{2}b+15\,A{a}^{2}bx+5\,{a}^{3}Bx+4\,A{a}^{3}}{20\,{x}^{5} \left ( bx+a \right ) ^{3}} \left ( \left ( bx+a \right ) ^{2} \right ) ^{{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.41842, size = 162, normalized size = 2.1 \begin{align*} -\frac{20 \, B b^{3} x^{4} + 4 \, A a^{3} + 10 \,{\left (3 \, B a b^{2} + A b^{3}\right )} x^{3} + 20 \,{\left (B a^{2} b + A a b^{2}\right )} x^{2} + 5 \,{\left (B a^{3} + 3 \, A a^{2} b\right )} x}{20 \, x^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (A + B x\right ) \left (\left (a + b x\right )^{2}\right )^{\frac{3}{2}}}{x^{6}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.18778, size = 201, normalized size = 2.61 \begin{align*} -\frac{{\left (5 \, B a b^{4} - A b^{5}\right )} \mathrm{sgn}\left (b x + a\right )}{20 \, a^{2}} - \frac{20 \, B b^{3} x^{4} \mathrm{sgn}\left (b x + a\right ) + 30 \, B a b^{2} x^{3} \mathrm{sgn}\left (b x + a\right ) + 10 \, A b^{3} x^{3} \mathrm{sgn}\left (b x + a\right ) + 20 \, B a^{2} b x^{2} \mathrm{sgn}\left (b x + a\right ) + 20 \, A a b^{2} x^{2} \mathrm{sgn}\left (b x + a\right ) + 5 \, B a^{3} x \mathrm{sgn}\left (b x + a\right ) + 15 \, A a^{2} b x \mathrm{sgn}\left (b x + a\right ) + 4 \, A a^{3} \mathrm{sgn}\left (b x + a\right )}{20 \, x^{5}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]